chore(deps): update rust crate annotate-snippets to 0.12.0 #15903
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.11.5->0.12.0Release Notes
rust-lang/annotate-snippets-rs (annotate-snippets)
v0.12.1Compare Source
Fixes
simdis enabled #286Snippethas no annotations and nothing comes after it #288v0.12.0Compare Source
Migration
Note that the top-level type changed from
MessagetoReport.Messageis now a single block of text within aReport.Message::footerwith eitherMessageto aGroupGroupLevel::<Variant>withLevel::<VARIANT>, e.g.Level::Error->Level::ERRORSnippets on aMessage(the type returned byLevel::title), add them to theGroupthat is created with theTitleSnippet::originhas been renamed toSnippet::pathAnnotationfrom aLevel, create them from anAnnotationKindAnnotationKind::Primarywill automatically match theLevelof theGroupAnnotationKind::ContextLevel::titlehas been replaced withLevel::primary_level(for firstGroup) andLevel::secondary_level(subsequentGroups)Message::idhas moved toTitle::idRenderer::line_notoRenderer::line_numsnippet.fold(false)if unspecified, removingsnippet.fold(true)if specifiedFeatures
renderer::DecorStyleGroup] to indicate what all is included between the unicode begin and end decorLevel::secondary_titleto allow for custom ANSI escape code styling to be applied to thoseTitlesAnnotationKind::Visibleto force spans to be visible within a Snippet, despite code folding, without any visible markerOriginfor referencing code without the sourceGroup::with_levelto allowSnippets without aTitleLevel::no_nameto hide the level nameLevel::with_nameto override what is rendered for that levelTitle::id_urlto turnTitle::idinto a linkPatchfor displaying changes to codeFixes
Cow<str>to allow for easier management of owned dataSnippet::pathnow acceptsNoneAnnotation::labelnow acceptsNoneConfiguration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.